---
title: "Elastic"
sidebarTitle: "Elastic Provider"
description: "Elastic provider is a provider used to query Elastic Search (tested with elastic.co)"
---

## Inputs

- query: str | dict: The query to search Elastic Search with (either SQL/EQL)
- index: str = None: The index to search on (**If index is None, query must be SQL**)

## Outputs

_No information yet, feel free to contribute it using the "Edit this page" link the buttom of the page_

## Authentication Parameters

The `api_key` and `cloud_id` are required for connecting to the Elastic provider. You can obtain them as described in the "Connecting with the Provider" section.

## Connecting with the Provider

### API Key

To obtain the Elastic API key, follow these steps:

1. Log in to your elastic.co account
2. Go to the "Elasticsearch Service" section
3. Click on the "API Key" button
4. Generate a new API Key

### Cloud ID

To obtain the Elastic Cloud ID, follow these steps:

1. Log in to your elastic.co account
2. Go to the "Elasticsearch Service" section
3. Find the "Cloud ID" in the Overview page.

## Notes

_No information yet, feel free to contribute it using the "Edit this page" link the buttom of the page_

## Useful Links

_No information yet, feel free to contribute it using the "Edit this page" link the buttom of the page_
